package com.woniu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class InpatientAppVO {
    /**
     * 入院申请表的id
     */
    private Integer id;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 病人姓名
     */
    private String patientName;

    /**
     * 科室名称
     */
    private String departmentName;

    //申请时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date iaDate;

    /**
     * 状态 (例如: "未缴费", "待确定", "完成")
     */
    private String status;

    private Integer patientId;      // 对应 ia_caseid
    private Integer departmentId;   // 对应 ia_departmentid
    private Integer doctorId;
}
